package com.service.business.qiniu.service;

import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.UnsupportedEncodingException;

public interface FileService {

    String uploadImag(MultipartFile file, String fileName);

    String buildPublicUrl(@NotNull String fileName) throws UnsupportedEncodingException;

}
